﻿@{
    ViewBag.Title = "上报情况";
    Layout = "~/Views/Shared/_LayoutList.cshtml"; 
}
@(       
 Html.DWZGridFor<OrderReported>()
    .Title("上报情况")
    .Action(@Url.Action("OrderReportedList"))
    .DefaultSortOption("Name")
    .Columns(col =>
    {
        col.Bind(e => e.Id).IsKey();
        col.Bind(e => e.Name).Width(60).AsQuery();
        col.Bind(e => e.Id, "上报").Width(100).Template("已上报");
        col.Bind(e => e.TotalCost).Width(80).Align(FlexiGridAlign.Right);
        col.Bind(e => e.TotalPrice).Width(80).Align(FlexiGridAlign.Right);
        col.Bind(e => e.PMUserName).Width(80);
        col.Bind(e => e.BeginDate).Width(70).DateFormat("yyyy-MM-dd");
        col.Bind(e => e.EndDate).Width(70).DateFormat("yyyy-MM-dd");
    })
)
